﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="AnyOffice.general.system.interface2.index" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>界面设置</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		
		<script>
		function CheckForm()
		{			
			if((/^\d+$/.test(document.Form1.txtLogoWidth.value)) == false)
			{   
				alert("主界面-顶部图标宽度输入不正确！");
				document.Form1.txtLogoWidth.focus();
				return (false);
			}
			   
			if((/^\d+$/.test(document.Form1.txtLogoHeight.value)) == false)
			{   
				alert("主界面-顶部图标高度输入不正确！");
				document.Form1.txtLogoHeight.focus();
				return (false);
			}	    
		   
		return true;
		}
		</script>
	</HEAD>
	<body class="bodycolor" topMargin="5">
		<form id="Form1" method="post" runat="server">
			<asp:panel id="pnlMain" runat="server">
				<table class="small" cellSpacing="0" cellPadding="3" width="100%" border="0">
					<tr>
						<td class="Big"><IMG height="18" src="/images/sys_config.gif" width="18" align="absmiddle"><span class="big1"><b>
								界面设置</b> </span></td>
					</tr>
				</table>
				<asp:Literal id="litTopMessage" runat="server"></asp:Literal>
				<TABLE class="small" cellSpacing="1" cellPadding="3" width="550" align="center" border="0"
					bgcolor="#000000">
					<TBODY>
						<TR>
							<TD class="TableData" noWrap>IE浏览器窗口标题：</TD>
							<TD class="TableData" noWrap>
								<asp:TextBox id="txtIeTitle" runat="server" CssClass="BigInput" Width="300px" MaxLength="200"></asp:TextBox></TD>
						</TR>
						<TR>
							<TD class="TableData" noWrap>主界面-顶部大标题文字：</TD>
							<TD class="TableData" noWrap>
								<asp:TextBox id="txtBannerText" runat="server" CssClass="BigInput" Width="300px" MaxLength="200"></asp:TextBox></TD>
						</TR>
						<TR>
							<TD class="TableData" noWrap>主界面-顶部大标题字体：
							</TD>
							<TD class="TableData" noWrap>
								<asp:TextBox id="txtBannerFont" runat="server" CssClass="BigInput" Width="300px" MaxLength="200"></asp:TextBox></TD>
						</TR>						
						<TR>
							<TD class="TableData" noWrap>登录界面-IE浏览器窗口标题：</TD>
							<TD class="TableData" noWrap>
								<asp:TextBox id="txtStatusText" runat="server" CssClass="BigInput" Width="300px" MaxLength="200"></asp:TextBox>&nbsp;
							</TD>
						</TR>						
						<TR>
							<TD class="TableData" noWrap>主界面-顶部图标：</TD>
							<TD class="TableData" noWrap>
							    <INPUT class="SmallInput" id="fileLogoImg" type="file" name="fileLogoImg" runat="server">
								<asp:Literal id="litLogoImg" runat="server"></asp:Literal>
								<asp:Button id="btnLogoImg" runat="server" CssClass="SmallButton" Text="更改图片" Visible="False" OnClick="btnLogoImg_Click"></asp:Button><BR>
								JPG、GIF、PNG格式
								<BR>
								<SPAN class="big4">注意：图像名称不能含有中文</SPAN></TD>
						</TR>
						<TR>
							<TD class="TableData" noWrap>主界面-顶部图标宽度：</TD>
							<TD class="TableData" noWrap>
								<asp:TextBox id="txtLogoWidth" runat="server" CssClass="BigInput" MaxLength="3"></asp:TextBox></TD>
						</TR>
						<TR>
							<TD class="TableData" noWrap>主界面-顶部图标高度：</TD>
							<TD class="TableData" noWrap>
								<asp:TextBox id="txtLogoHeight" runat="server" CssClass="BigInput" MaxLength="3"></asp:TextBox></TD>
						</TR>
						<TR>
							<TD class="TableControl" noWrap align="center" colSpan="2">
								<asp:Button id="btnSubmit" runat="server" CssClass="BigButton" Text="确定" onclick="btnSubmit_Click"></asp:Button>
							</TD>
						</TR>
		
		</TBODY>
		</TABLE>
		</asp:panel>
		<asp:Literal id="litMessage" runat="server"></asp:Literal>
		</form>
	</body>
</HTML>
